<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <base href="<%=basePath%>">
    
    <title>My JSP 'jstl.jsp' starting page</title>

  </head>
  
  <body>
    <c:url value="newsread.jsp" var="newsread">
    	<c:param name="id" value="187"></c:param>
    </c:url> 
    <a href="${newsread }" >你瞅啥？</a>
    
    <!--导入标签  -->
    <!--类似于包含，将 read.jsp 中的页面包含到该页面中  -->
    <c:import url="read.jsp?id=100"></c:import>
  </body>
</html>
